package top.hhydra.mimall.enums;

import lombok.Getter;

/**
 * @Description
 * @auther SaiyeEmon
 * @create 2020-02-09 6:27
 */
@Getter
public enum RoleEnum {
    ADMIN(0,"管理员"),
    CUSTOMER(1,"普通用户");

    private int code;
    private String desc;

    RoleEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
